package com.ruoyi.js.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 报名 对象 js_register
 * 
 * @author greejoy
 * @date 2024-04-22
 */
public class JsRegister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 小项ID */
    private Long itemId;

    /** 作品名称 */
    private String worksName;

    /** 照片 */
    private String photo;

    /** 音乐 */
    private String music;

    /** placeId */
    private Long placeId;

    /** 轮次 */
    private Integer session;

    /** 序号 */
    private Integer odr;

    /** 是否打分 */
    private Boolean isScored;

    public JsRegister(){}

    public JsRegister(Long itemId){
        this.itemId = itemId;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }

    public String getWorksName() {
        return worksName;
    }

    public void setWorksName(String worksName) {
        this.worksName = worksName;
    }

    public void setPhoto(String photo)
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setMusic(String music) 
    {
        this.music = music;
    }

    public String getMusic() 
    {
        return music;
    }

    public Long getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Long placeId) {
        this.placeId = placeId;
    }

    public Integer getSession() {
        return session;
    }

    public void setSession(Integer session) {
        this.session = session;
    }

    public Integer getOdr() {
        return odr;
    }

    public void setOdr(Integer odr) {
        this.odr = odr;
    }

    public Boolean getIsScored() {
        return isScored;
    }

    public void setIsScored(Boolean isScored) {
        this.isScored = isScored;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemId", getItemId())
            .append("photo", getPhoto())
            .append("music", getMusic())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }


    // 连表属性
    private Long matchId;
    private String itemName;
    private String playerIds;
    private String playerName;
    private String playerIdcard;
    private String replacePlayerIds;
    private String replacePlayerName;
    private String replacePlayerIdcard;
    private String placeName;

    public Long getMatchId() {
        return matchId;
    }

    public void setMatchId(Long matchId) {
        this.matchId = matchId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getPlayerIds() {
        return playerIds;
    }

    public void setPlayerIds(String playerIds) {
        this.playerIds = playerIds;
    }

    public String getPlayerName() {
        return playerName;
    }

    public void setPlayerName(String playerName) {
        this.playerName = playerName;
    }

    public String getPlayerIdcard() {
        return playerIdcard;
    }

    public void setPlayerIdcard(String playerIdcard) {
        this.playerIdcard = playerIdcard;
    }

    public String getReplacePlayerIds() {
        return replacePlayerIds;
    }

    public void setReplacePlayerIds(String replacePlayerIds) {
        this.replacePlayerIds = replacePlayerIds;
    }

    public String getReplacePlayerName() {
        return replacePlayerName;
    }

    public void setReplacePlayerName(String replacePlayerName) {
        this.replacePlayerName = replacePlayerName;
    }

    public String getReplacePlayerIdcard() {
        return replacePlayerIdcard;
    }

    public void setReplacePlayerIdcard(String replacePlayerIdcard) {
        this.replacePlayerIdcard = replacePlayerIdcard;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }
}
